package com.adk.backend.mapper;

import com.adk.backend.entity.LxOT;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单跟踪状态Mapper接口
 */
public interface OTMapper extends BaseMapper<LxOT> {
    
    /**
     * 根据订单ID和状态代码查询跟踪记录
     */
    LxOT selectByOrderIdAndStatusCode(@Param("orderId") Long orderId, @Param("statusCode") Integer statusCode);
}


